{extend name="5000/index/base"}
{block name="index"}
<div class="row" style="text-align: center">
	<div style="margin-top: 90px">
		<div class="layui-carousel" id="test1">
			<div carousel-item>
				<div><img src="__STATIC__/5000/images/banner/banner01.jpg"></div>
				<div><img src="__STATIC__/5000/images/banner/banner02.jpg"></div>
			</div>
		</div>
		<script src="__STATIC__/5000/layui/layui.js"></script>
		<script>
			layui.use('carousel', function(){
				var carousel = layui.carousel;
				//建造实例
				carousel.render({
					elem: '#test1'
					,width: '100%' //设置容器宽度
					,arrow: 'always' //始终显示箭头
					//,anim: 'updown' //切换动画方式
				});
			});
		</script>
		<!-- 条目中可以是任意内容，如：<img src=""> -->

	</div>
</div>
{/block}
